import Mock from 'mockjs'
let tide = require('./tide.json');
let notice=require('./notice.json');
let warn=require('./warn.json');
let warndetail=require('./warndetail.json');
let noticedetail=require('./noticedetail.json');
let login=require('./login.json');
let userNav=require('./userNav.json');

Mock.mock(/\/api\/tide/,'post',tide)
Mock.mock(/\/api\/notice/,'post',notice)
Mock.mock(/\/api\/warn/,'post',warn)
Mock.mock(/\/api\/wadetail/,'post',warndetail)
Mock.mock(/\/api\/nodetail/,'post',noticedetail)
Mock.mock(/\/api\/login/,'post',login)
Mock.mock(/\/api\/userNav/,'post',userNav)

